<!Doctype html>
<html>
<head>
<title> Calculator1</title>
<script type="text/javascript">
function orderCalculate(){
var quantity , totalOrder;

quantity = parseInt(document.frmOrder.txtQuantity.value);
totalOrder =  quantity * 2.95;

document.frmOrder.txtTotalOrder.value = totalOrder;
}

</script>
</head>
<body>
<h1> This is a price Calculator </h1>
<form name="frmOrder">
<table border ="0" width="344">

<tr>
<td width="231">Number of Toy's Ordered : </td>
<td width="93"><input type="text" name="txtQuantity" size="10" value=""/></td>
<td width="1"><input type="button" value="Calculate" onClick =" orderCalculate()"/></td>
</tr>
<tr>
<td width="211" colspan="3">Price per Toy : 2.95 </td>
</tr>
<tr>
<td >Total Order : </td>
<td width="70"><input type="text" name="txtTotalOrder" size="10" value=""/> </td>
<td width="70"><input type="reset" name="btnreset" value="Reset" /> </td>
</tr>

</table>
</form>
</body>

</html>